package com.zhentao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.zhentao.dtos.Result;
import com.zhentao.model.dto.product.CategoryBrandDto;
import com.zhentao.model.entity.product.Brand;
import com.zhentao.pojo.CategoryBrand;

import java.util.List;

/**
* @author 20183
* @description 针对表【category_brand(分类品牌)】的数据库操作Service
* @createDate 2024-08-19 15:43:18
*/
public interface CategoryBrandService extends IService<CategoryBrand> {




    Result deleteById(Long id);

    PageInfo<CategoryBrand> findByPage(Integer page, Integer limit, CategoryBrandDto categoryBrandDto);

    void updateId(CategoryBrand categoryBrand);


    List<Brand> findBrandByCategoryId(Long categoryId);

}
